<?php
class Yc extends CI_Controller {

  public function __construct()
  {
      parent::__construct();
      $this->load->model('yc_model');
  }

    public function index()
    {
      $data['yc'] = $this->yc_model->get_teammessages();

      $this->load->view('templates/header', $data);
      $this->load->view('yc/index', $data);
    }
    
}